package com.aaa.springboot.dao;

import com.aaa.springboot.pojo.Pulish;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PulishDao {
    int deleteByPrimaryKey(Integer pubid);

    int insert(Pulish record);

    int insertSelective(Pulish record);

    Pulish selectByPrimaryKey(Integer pubid);

    int updateByPrimaryKeySelective(Pulish record);

    int updateByPrimaryKey(Pulish record);

    List<Pulish> selectAll();
}